package com.qilin.hscs.enums;

/**
 * Created by 10188 on 2018/5/9.
 */
public enum  UserRoleEnum {

    NO_PERMISSION_USER(0, "无权限用户，只能登陆，无权任何操作权限"),

    USER(2,"普通用户"),

    ADMIN(1, "管理员，可以操作和产品相关的一切"),

    SUPER_ADMIN(3,"超级管理员，可以获取系统相关的信息"),

    ;
    private int role;

    private String instruction;

    UserRoleEnum(int role, String instruction) {
        this.role = role;
        this.instruction = instruction;
    }

    public int getRole() {
        return role;
    }

    public String getInstruction() {
        return instruction;
    }
}
